﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace IntelligentFiles.HcForm
{
    public partial class Opearttion_box : Form
    {
        public Opearttion_box()
        {
            InitializeComponent();
        }
        int Num = 0;
        private void pic_close_Click(object sender, EventArgs e)
        {
            this.Close();
        }
        public void setBoxNaame(string name,int number)
        {
            lab_box.Text = name;
            Num = number;
        }
        private void btn_see_Click(object sender, EventArgs e)
        {
            //MessageBox.Show("查看卷宗");

            if (Num > 0)
            {
                Files fl = new Files();
                fl.setTitle(lab_box.Text, Num);
                fl.Show();
            }
            else
            {
                MessageBox.Show("当前没有卷宗");
            }

        }

        private void btn_save_Click(object sender, EventArgs e)
        {
            MessageBox.Show("存放");
        }

        private void btn_open_Click(object sender, EventArgs e)
        {
            MessageBox.Show("开门");
        }


    }
}
